
cc.Class({
    extends: cc.Component,

    properties: {
        delayTime:{
            default: 2, 
            type: cc.Integer, // 秒
            serializable: true,
            tooltip: "延迟的时间，单位为秒"
        },
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    start () {
        setTimeout(function(){
            cc.director.loadScene("choiceMode");
        },this.delayTime * 1000);
    },

    // update (dt) {},
});

